<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<?php
include_once('simple_html_dom.php');
?>
<body>
<table width="100%" border="1" cellspacing="5" cellpadding="5">
  <tr>
  	<td>
    <?php
	//vnexpress
	/*$html = file_get_html('http://vnexpress.net/gl/kinh-doanh/2012/03/cuoc-taxi-tang-them-1-500-dong/');
	
	foreach($html->find('div[class=content]') as $e)
	{
		$c = $e->first_child();
		foreach ($c->find('img') as $i)
		{
			$newurl = 'http://vnexpress.net' . $i->src;
			$i->src = $newurl;
		}
		echo $c;
	}*/
	?>
    </td>
    <td>
    <?php
	//thethaovanhoa
    $html = file_get_html('http://thethaovanhoa.vn/152N20120520054011660T129/tai-sao-van-la-anh-robben.htm');

	//echo $html;
	foreach($html->find('div[class=boxmuc41]') as $e)
	{
		for($i = 0; $i < 5; $i++)
		{
			echo $e->children($i);
		}
	}
	?>
    </td>
  </tr>
  <tr>
    <td>
    <?php
	//24h
	//$html = file_get_html('http://hcm.24h.com.vn/bong-da/mu-anh-duong-tu-old-trafford-c48a440802.html');
	//$html = file_get_html('test.html');
	//$html = file_get_contents('http://hcm.24h.com.vn/bong-da/mu-anh-duong-tu-old-trafford-c48a440802.html');
	
	$html = file_get_html('http://hn.24h.com.vn/the-thao/them-nhung-ten-tuoi-roi-indian-wells-diem-tin-tennis-f1-sang-14-3-c101a440859.html');
	//echo $html;
	foreach($html->find('div[class=boxBaiViet-c]') as $e)
	{
		for($i = 0; $i < 3; $i++)
		{
			echo $e->children($i);
		}
		echo $e->children($i)->children(0);
		//echo $e;
	}
	?>
    </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
</body>
</html>